package com.unicom.mec.deploy.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 部署模板类
 *
 * @author 刘亮武
 * @date 2020年06月22日
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TemplateDeployVo {

    @ApiModelProperty(value = "主键")
    private Long applicationId;

    @ApiModelProperty(value = "模板主键")
    private Long templateId;

    @ApiModelProperty(value = "模板名称")
    private String templateName;

    @ApiModelProperty(value = "模板描述")
    private String templateDesc;

    @ApiModelProperty(value = "版本信息")
    private Integer version;

    @ApiModelProperty(value = "chart地址信息")
    private String chartPath;

    @ApiModelProperty(value = "参数部署信息")
    private String variableDeployment;

    @ApiModelProperty(value = "部署实例集合")
    private List<ExampleDeployVo> examples;
}
